home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 051-075 / disk_051 / bison / lex.h < prev    next >
Text File  |  1992-05-06  |  2KB  |  55 lines

  1. /* Token type definitions for bison's input reader,
  2.    copyright (C) 1984 Bob Corbett and Richard Stallman
  3.  
  4.    Permission is granted to anyone to make or distribute verbatim copies of this program
  5.    provided that the copyright notice and this permission notice are preserved;
  6.    and provided that the recipient is not asked to waive or limit his right to
  7.    redistribute copies as permitted by this permission notice;
  8.    and provided that anyone possessing an executable copy
  9.    is granted access to copy the source code, in machine-readable form,
  10.    in some reasonable manner.
  11.  
  12.    Permission is granted to distribute derived works or enhanced versions of
  13.    this program under the above conditions with the additional condition
  14.    that the entire derivative or enhanced work
  15.    must be covered by a permission notice identical to this one.
  16.  
  17.    Anything distributed as part of a package containing portions derived
  18.    from this program, which cannot in current practice perform its function usefully
  19.    in the absense of what was derived directly from this program,
  20.    is to be considered as forming, together with the latter,
  21.    a single work derived from this program,
  22.    which must be entirely covered by a permission notice identical to this one
  23.    in order for distribution of the package to be permitted.
  24.  
  25.  In other words, you are welcome to use, share and improve this program.
  26.  You are forbidden to forbid anyone else to use, share and improve
  27.  what you give them.   Help stamp out software-hoarding!  */
  28.  
  29. #define    ENDFILE        0
  30. #define    IDENTIFIER    1
  31. #define    COMMA        2
  32. #define COLON        3
  33. #define    SEMICOLON    4
  34. #define    BAR        5
  35. #define LEFT_CURLY    6
  36. #define TWO_PERCENTS    7
  37. #define PERCENT_LEFT_CURLY    8
  38. #define    TOKEN        9
  39. #define    NTERM        10
  40. #define GUARD           11
  41. #define    TYPE           12
  42. #define    UNION           13
  43. #define START           14
  44. #define LEFT           15
  45. #define RIGHT           16
  46. #define NONASSOC       17
  47. #define PREC           18
  48. #define SEMANTIC_PARSER 19
  49. #define PURE_PARSER    20
  50. #define TYPENAME       21
  51. #define NUMBER           22
  52. #define    ILLEGAL           23
  53.  
  54. #define    MAXTOKEN    1024
  55.